﻿using System;
using System.Text;
using System.Collections.Generic;
using System.Linq;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using ExtensionsLib.Dictionary;

namespace Tests.DictionaryExtensions
{
    [TestClass]
    public class IncludeTest1
    {
        [TestMethod]
        public void TestMethod1()
        {
            var dictionary1 = new Dictionary<string, string>() { { "key1_1", "1" } };
            var dictionary2 = new Dictionary<string, string>() { { "key1_2", "1" } };

            dictionary1.Include(dictionary2);

            Assert.AreEqual(2, dictionary1.Count);
            Assert.AreEqual(1, dictionary2.Count);


        }
    }
}
